package shiyan9;

import java.util.Scanner;

public class Sy91 {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		int[] arr=new int[5];
		String s=null;
		while(input.hasNext()){
			String str=input.next();
			try {
				if(str.equals("arr")){
					int i=input.nextInt();
					arr[i]=1;
				}else if(str.equals("null")){
					s.length();
				}else if(str.equals("cast")){
					Object o=new String("str");
					Integer x=(Integer) o;
				}else if(str.equals("num")){
					String string =input.next();
					Integer.parseInt(string);
				}else{
					break;
				}
			} catch (Exception e) {
				// TODO Auto-generated catch block
				System.out.println(e);
			}
		}

	}

}
